Cloudinary\Sync D

Total Complexity 135
Dependencies 10
Dependents 21
Total lines 1,227
Lines of code 644
Logical lines of code 304
Comment lines 423
Methods 41
Properties 7

Methods 41

Method Rating Maintainability Complexity Lines of code
setup_sync_base_struct()
B
29
11 155
filter_status()
A
51 11 24
is_synced()
A
54 9 20
log_sync_result()
S
53 6 21
get_sync_type()
S
52 5 25
is_syncable()
S
58 5 17
can_sync()
S
59 5 15
settings()
S
40 1 73
get_signature()
S
56 4 17
validate_sync_type()
S
58 4 15
generate_type_signature()
S
60 4 14
is_required()
S
62 4 11
delete_cloudinary_meta()
S
55 3 19
is_pending()
S
63 4 9
sync_base()
S
62 3 11
set_signature_item()
S
62 3 11
generate_public_id()
S
61 3 11
setup()
S
56 2 18
setup_sync_types()
S
64 3 10
get_sync_type_method()
S
68 3 7
sync_signature_by_type()
S
66 3 8
filter_get_cloudinary_folder()
S
70 3 6
generate_signature()
S
64 3 10
maybe_prepare_sync()
S
66 3 8
init_background_upload()
S
70 2 6
generate_edit_signature()
S
65 2 9
get_signature_syncable_type()
S
71 2 6
generate_file_signature()
S
71 2 5
is_auto_sync_enabled()
S
71 2 6
get_asset_state()
S
74 2 4
add_to_sync()
S
70 2 6
filter_media_states()
S
68 2 7
enqueue_assets()
S
64 2 9
run_sync_method()
S
67 2 8
been_synced()
S
71 2 5
is_active()
S
79 2 3
register_assets()
S
72 2 6
register_sync_type()
S
61 1 12
set_pending()
S
78 1 3
get_sync_version()
S
73 1 4
__construct()
S
63 1 10